﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Поиск оборудования
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Поиск обрудования</h2>
    <script type="text/javascript">
        function ajaxSucces() {

        }
    </script>
    <% using (Ajax.BeginForm(
           new AjaxOptions
           {
               UpdateTargetId = "result",
               OnSuccess = "ajaxSucces"
           }))
       { %>
       
       <%=Html.TextBox("searchStr")%>&nbsp&nbsp&nbsp<input type="submit" value="Найти" class="g-button" />

        <%} %>

    <div id="result"></div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
    <script src="../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
    <script src="../../Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
</asp:Content>
